/* 添加轮播样式 */
.carousel-container {
    position: relative;
    border-radius: 0.5rem;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
}

.carousel-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

/* 修改轮播导航按钮样式 */
.carousel-btn {
    opacity: 0;
    transition: opacity 0.3s ease;
    /* 添加指针事件控制 */
    pointer-events: none;
}

.carousel-container:hover .carousel-btn {
    opacity: 1;
    pointer-events: auto;
}

/* 新增悬停时按钮背景色过渡 */
.carousel-btn:hover {
    background-color: #f3f4f6;
    transition: background-color 0.2s ease;
}